﻿Imports System.ComponentModel

Public Class CommissionCalculationBE

#Region "<< -Attributes- >>"
    Public Enum CommissionType
        <Description("Porcentaje")>
        Percentage = 1
        <Description("Valor Fijo")>
        FixValue = 2
    End Enum

    Private _Operation As OperationBE = Nothing
    Private _PropertyType As PropertyTypeBE = Nothing
    Private _Mont As Decimal? = Nothing
    Private _ValueScale As Integer? = Nothing
    Private _ValueScaleDescription As String = String.Empty
#End Region

#Region "<< -Properties- >>"

#Region "[Operation]"
    Public Property Operation As OperationBE
        Get
            Return _Operation
        End Get
        Set(value As OperationBE)
            _Operation = value
        End Set
    End Property
#End Region

#Region "[PropertyType]"
    Public Property PropertyType As PropertyTypeBE
        Get
            Return _PropertyType
        End Get
        Set(value As PropertyTypeBE)
            _PropertyType = value
        End Set
    End Property
#End Region

#Region "[Mont]"
    Public Property Mont As Decimal?
        Get
            Return _Mont
        End Get
        Set(value As Decimal?)
            _Mont = value
        End Set
    End Property
#End Region

#Region "[ValueScale]"
    Public Property ValueScale As Integer?
        Get
            Return _ValueScale
        End Get
        Set(value As Integer?)
            _ValueScale = value
        End Set
    End Property
#End Region

#Region "[ValueScaleDescription]"
    Public Property ValueScaleDescription As String
        Get
            Return _ValueScaleDescription
        End Get
        Set(value As String)
            _ValueScaleDescription = value
        End Set
    End Property
#End Region

#End Region

#Region "<< -Methods- >>"
    Public Sub New()
        _Operation = New OperationBE
        _PropertyType = New PropertyTypeBE
    End Sub
#End Region

End Class
